package com.pxst.et.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.pxst.internalReports.entity.SysBankBillRemarkEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author rj
 * @create 2023-11-03-10:09
 */
@Data
public class NonMerchantStatementResp {
    @ApiModelProperty(value = "银行卡账户代码")
    private String bankCardAccCode;

    @ApiModelProperty(value = "银行名")
    private String bankName;

    @ApiModelProperty(value = "虚拟银行对账单id")
    private Long vbId;

    @ApiModelProperty(value = "银行手续费")
    private BigDecimal bankFee;

    @ApiModelProperty(value = "我们的id")
    private String commandId;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "转入")
    private BigDecimal credit;

    @ApiModelProperty(value = "币种")
    private String currency;

    @ApiModelProperty(value = "转出")
    private BigDecimal debit;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "")
    private Integer history;

    @ApiModelProperty(value = "备注")
    private String note;

    @ApiModelProperty(value = "")
    private String refVbsId;

    @ApiModelProperty(value = "")
    private List<SysBankBillRemarkEntity> remark;

    @ApiModelProperty(value = "交易时间")
    private Date transactionDate;

    @ApiModelProperty(value = "交易类型")
    private Integer type;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;

    @ApiModelProperty(value = "更新人")
    private String updater;

    @ApiModelProperty(value = "是否作废")
    @JsonProperty(value = "void")
    private Integer isVoid;

    /**
     * 表示交易的类型
     */
    @JsonIgnore
    private String modelClass;
}
